package com.qianji.service.impl;

import com.qianji.pojo.AdPlaceDto;
import com.qianji.mapper.AdPlaceMapper;
import com.qianji.service.AdPlaceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: Xiao Liang Zai
 * @Date: 2021/7/8 15:45
 * @description:
 */
@Service
@Slf4j
public class AdPlaceServiceImpl implements AdPlaceService {

    @Resource
    AdPlaceMapper adPlaceMapper;

    @Override
    public AdPlaceDto findPlace(Long id) {
        return adPlaceMapper.findPlace(id);
    }
}
